﻿namespace NazTek.Core
{
    /// <summary>
    /// Provides way for clients of dependency container to register dependency map.
    /// </summary>
    public interface IDependencyInjector
    {
        /// <summary>
        /// Register key value pair maps.
        /// </summary>
        /// <example>
        /// <code>
        /// DependencyContainer.DependencyModule = new DependencyModule(
        ///     new KeyValuePair&lt;Type, Type&gt;(typeof(IServiceContext), typeof(AeServiceContext)),
        ///     new KeyValuePair&lt;Type, Type&gt;(typeof(IHttpClient), typeof(DefaultHttpClient)));
        /// </code>
        /// </example>
        void RegisterMap();
    }
}